package com.zrf.gulimall.auth.feign;

import com.zrf.gulimall.commnon.core.response.Resp;
import com.zrf.gulimall.commnon.core.vo.MemberResponseVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author zhanrf
 * @Date 2022/1/1 21:41
 */
@FeignClient("service-member")
public interface MemberFeign {
	@GetMapping("/member/member/get")
	Resp<MemberResponseVo> getMember(@RequestParam("loginacct") String loginacct,
									 @RequestParam("password") String password);
}
